package com.xuwang.pojo;

import java.sql.Timestamp;
import java.sql.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 角色管理表(RoleManagement)实体类
 *
 * @author Yaopeng
 * @since 2021-09-14 09:39:37
 * @version 1.0
 */
@ApiModel(value = "RoleManagement",description = "角色管理表")
public class RoleManagement {
    
	@ApiModelProperty(name = "id",notes = "${column.comment}",dataType = "Integer")
    private Integer id;
    /**
    * 用户名字，关联user表
    */
	@ApiModelProperty(name = "userId",notes = "用户名字，关联user表",dataType = "Integer",required = true)
    private Integer userId;
    /**
    * 备注
    */
	@ApiModelProperty(name = "remarks",notes = "备注",dataType = "String",required = true)
    private String remarks;
    /**
    * 角色类型
    */
	@ApiModelProperty(name = "roleType",notes = "角色类型",dataType = "String",required = true)
    private String roleType;
    /**
    * 创建时间
    */
	@ApiModelProperty(name = "creationTime",notes = "创建时间",dataType = "Date")
    private Date creationTime;
    /**
    * 状态，0代表无效，1代表有效
    */
	@ApiModelProperty(name = "state",notes = "状态，0代表无效，1代表有效",dataType = "Integer",required = true)
    private Integer state;

    @ApiModelProperty(name = "grade",notes = "等级",dataType = "Integer",required = true)
    private Integer grade;

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
        
    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }


    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

}